<include file="public@header" />
</head>

<body>
    <div class="wrap">
        <ul class="nav nav-tabs">
            <li class="active"><a>项目分包组长</a></li>
            <li><a href="{:url('leader/add',array('id'=>$id))}">新增组长</a></li>
        </ul>
        <form method="post" class="js-ajax-form margin-top-20">
            <table class="table table-hover table-bordered">
                <thead>
                    <tr>
                        <th>姓名</th>
                        <th>工种</th>
                        <!-- <th>是否在职</th> -->

                        <th>{:lang('ACTIONS')}</th>
                    </tr>
                </thead>
                <tbody>
                    <foreach name="data" item="v">
                        <tr>
                            <td>{$v.name}</td>
                            <td>{$v.type}</td>
                            <td>
                                <a class="btn btn-xs btn-primary js-ajax-submit"
                                    href="{:url('leader/see',array('id'=>$v['id']))}">查看详情</a>
                                <a class="btn btn-xs btn-primary js-ajax-submit"
                                    href="{:url('leader/stafflist',array('id'=>$v['id']))}">显示施工员工</a>
                                <a class="btn btn-xs btn-danger js-ajax-delete" class=""
                                    href="{:url('leader/del',array('id'=>$v['id']))}">{:lang('DELETE')}</a>
                            </td>
                        </tr>
                    </foreach>
                </tbody>
            </table>

        </form>
    </div>
    <script src="__STATIC__/js/admin.js"></script>
</body>

</html>